﻿using System;

using ZQNB.Common.Encrypt;

namespace ZQNB.BaseLib.Accounts
{
    /// <summary>
    /// 账号的策略
    /// 加密，验证方式等
    /// todo，read from settings
    /// </summary>
    public class AccountPolicy
    {
        public string DefaultPassword
        {
            get { return "123456"; }
        }

        public PasswordFormat PasswordFormat
        {
            get
            {
                return PasswordFormat.Hashed;
            }
        }

        public bool SupportEmail
        {
            get { return true; }
        }

        public bool SupportCustomNo
        {
            get { return true; }
        }
    }
}